Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Added four new modal components for the donation management dashboard, each with a corresponding tester route for visual verification. These modals handle donation filtering, sorting, creation, and information display.
Changes Made
Files Added:
apps/frontend/src/components/DonationModals/DonationInformationModal.tsx
apps/frontend/src/components/DonationModals/DonationInformationModalTester.tsx
apps/frontend/src/components/DonationModals/NewDonationModal.tsx
apps/frontend/src/components/DonationModals/NewDonationModalTester.tsx
apps/frontend/src/components/DonationModals/SortingModal.tsx
apps/frontend/src/components/DonationModals/SortingModalTester.tsx
Files changed:
apps/frontend/src/App.tsx — added 3 new tester routes (/donation-information-modal-test, /new-donation-modal-test, /sorting-modal-test)
Testing & Verification
Verification Steps:
-Visit /sorting-modal-test to verify the SortingModal
-Visit /export-modal-test to verify the ExportModal
-Verify checkboxes toggle correctly in DonationInformationModal
-Verify radio buttons toggle correctly in SortingModal
-Verify Reset clears all fields/selections in each modal
-Verify dual range slider in DonationInformationModal moves both handles
Screenshots (if relevant)
Future Improvements/Notes
-Apply and Add buttons are not yet wired up to any backend logic
-Cancel button in NewDonationModal resets the form but does not close the modal
Related Issues
Closes #119